package com.ty.service.impl;

import com.ty.bean.Loanquote;
import com.ty.common.crud.BaseServiceImpl;
import com.ty.mapper.LoanquoteMapper;
import com.ty.service.LoanquoteSevice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoanquoteServiceImpl extends BaseServiceImpl<Loanquote, LoanquoteMapper> implements LoanquoteSevice {
    @Autowired
    LoanquoteMapper loanquoteMapper;

    @Override
    public Loanquote query(Loanquote loanquote) {
        List list =loanquoteMapper.query(loanquote);
        return (Loanquote) list;
    }
}
